﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.master" AutoEventWireup="true" CodeFile="CatalogoCasos.aspx.cs" Inherits="CatalogoCasos" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">

<form id="catalogoC" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">   </asp:ScriptManager>
<table>
<tr>
<td>
<asp:GridView ID="grdDatos" DataKeyNames="IdCaso" runat="server" CellPadding="4" 
    GridLines="None" AutoGenerateColumns="False"     
    onselectedindexchanged="grdDatos_SelectedIndexChanged" ForeColor="#333333">
    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    <Columns>
        <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
            ShowSelectButton="true" SelectText="Ver">
        <ControlStyle Width="25px" />
        </asp:CommandField>
        <asp:BoundField HeaderText="Código" DataField="IdCaso" 
            SortExpression="IdCaso" >
        <HeaderStyle Font-Size="XX-Small" />
        </asp:BoundField>
        <asp:BoundField HeaderText="Descripcion" DataField="Descripcion" >
        <HeaderStyle Font-Size="XX-Small" />
        </asp:BoundField>
    </Columns>
    <EditRowStyle BackColor="#999999" />
    <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    <SortedAscendingCellStyle BackColor="#E9E7E2" />
    <SortedAscendingHeaderStyle BackColor="#506C8C" />
    <SortedDescendingCellStyle BackColor="#FFFDF8" />
    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>
</td>
</tr>
</table>
<table><tr><td>
    <asp:Button ID="agregar" runat="server" Text="Nuevo" onclick="agregar_Click" 
         /></td><td>
    <asp:Button ID="Button2" runat="server" Text="Borrar" onclick="Button2_Click"  /></td>
    <td>
        <asp:Button ID="Button1" runat="server" Text="Modificar" onclick="Button1_Click" 
             />
    </td>
</tr>
</table>

<table>
    <tr>
        <td>
           <asp:TextBox ID="Descripcion" runat="server" 
            Height="22px" Width="400px"></asp:TextBox>                        
        </td>
        <td>
            <asp:HiddenField ID="HiddenField1" runat="server" />
        </td>
        </tr>
        <tr>          
            <td>
                <asp:Button ID="Btnok2" runat="server" Text="Guardar" onclick="Btnok2_Click"  />                   
                <asp:Button ID="Button6" runat="server" Text="Cancelar" onclick="Button6_Click" 
                     />
            </td>
       </tr>        
    
</table>

</form>

</asp:Content>

